package com.youi.entity;

import java.io.Serializable;
import java.util.Date;


/**
 * 用户搜索关键字历史
 *
 * @author winty
 */
public class UserSearchHistory implements Serializable {

    private Long id;
    /**
     * 搜索关键字
     */
    private String keyword;
    /**
     * 搜索用户ID
     */
    private Long userId;
    /**
     * 删除状态（0否 1是）
     */
    private Integer delStatus;
    /**
     * 创建时间
     */
    private Date gmtCreated;
    /**
     * 修改时间
     */
    private Date gmtModify;


    public UserSearchHistory() {

    }

    public UserSearchHistory(Long id, Date gmtCreated, Integer delStatus, Date gmtModify) {
        this.id = id;
        this.gmtCreated = gmtCreated;
        this.delStatus = delStatus;
        this.gmtModify = gmtModify;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getDelStatus() {
        return delStatus;
    }

    public void setDelStatus(Integer delStatus) {
        this.delStatus = delStatus;
    }

    public Date getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public Date getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }
}
